package cn.glutnn.entity;

import java.util.Date;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * (FoodRecommendations)表实体类
 *
 * @author msh
 * @since 2024-12-14 16:57:47
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("food_recommendations")
public class FoodRecommendations {

    @TableId
    private Integer id;

    //用户ID，指向用户表的ID
    private Integer userId;
    //食品ID，指向食品表的ID
    private Integer foodId;
    //推荐理由，系统推荐食品的原因或用户的个人推荐理由
    private String recommendationReason;
    //推荐创建时间，默认为当前时间
    private Date createdTime;

}

